package com.it.flowable.service.common;

import org.springframework.stereotype.Service;

import java.util.UUID;

@Service
public class CommonUtils {

    /**
     * 生成随机唯一值
     *
     * @return
     */
    public String createUUIDKey() {
        String s = UUID.randomUUID().toString();
        s.replaceAll("-", "");
        s.replaceAll("_", "");
        return s;
    }

}
